package com.itheima.d19_extends_demo2;

public class Staff extends People{
    public Staff(){}
    public Staff(String name,String numble,int salary){
        super(name,numble,salary);
    }
    @Override
    public void work() {
        System.out.println("工号为" + getNumble() + "的" + getName() + "程序员，拿着" + getSalary()+ "元的工资，正在苦逼的写代码~~~~");
    }
}
